package com.yifeng.repo.base.annotation;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created by daibing on 2023/6/19.
 */
@Getter
@AllArgsConstructor
public enum LambdaOperator {
//    AND("and"),
//    OR("or"),
//    NOT("not"),
    IN("in"),
    NOT_IN("notIn"),
    LIKE("like"),
    NOT_LIKE("notLike"),
    LIKE_RIGHT("likeRight"),
    LIKE_LEFT("likeLeft"),
    NOT_LIKE_RIGHT("notLikeRight"),
    NOT_LIKE_LEFT("notLikeLeft"),
    EQ("eq"),
    NE("ne"),
    GT("gt"),
    GE("ge"),
    LT("lt"),
    LE("le"),
    IS_NULL("isNull"),
    IS_NOT_NULL("isNotNull"),
    GROUP_BY("groupBy"),
//    HAVING("having"),
    ORDER_BY_ASC("orderByAsc"),
    ORDER_BY_DESC("orderByDesc"),
//    EXISTS("exists"),
//    NOT_EXISTS("notExists"),
//    BETWEEN("between"),
//    NOT_BETWEEN("notBetween"),
    ;

    private final String methodName;
}
